body {
  max-width: 540px;
  min-width: 320px;
  margin: 0 auto;
  font: normal 14px/1.5 Tahoma, "Lucida Grande", Verdana, "Microsoft Yahei",
    STXihei, hei;
  color: #000;
  background: #f2f2f2;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
a {
  text-decoration: none;
  color: #222;
}
ul,
li {
  list-style: none;
  margin: 0;
  padding: 0;
}
div {
  box-sizing: border-box;
}
/* 搜索模块 */
.search-index {
  display: flex;
  position: fixed;
  top: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 100%;
  max-width: 540px;
  min-width: 320px;
  height: 44px;
  background-color: #f6f6f6;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  .search {
    position: relative;
    height: 26px;
    border: 1px solid #ccc;
    flex: 1;
    font-size: 12px;
    height: 26px;
    line-height: 24px;
    margin: 7px 10px;
    padding-left: 25px;
    border-radius: 4px;
  }
  .search::before {
    content: "";
    position: absolute;
    top: 0;
    left: 5px;
    width: 15px;
    height: 15px;
    background: url(../images/sprite.png) no-repeat -59px -279px;
    background-size: 104px auto;
    margin: 5px;
  }
  .user {
    width: 44px;
    height: 44px;
    // background-color: pink;
    font-size: 12px;
    text-align: center;
    color: #2eaae0;
  }
  .user::before {
    content: "";
    display: block;
    width: 23px;
    height: 23px;
    background: url(../images/sprite.png) no-repeat -59px -194px;
    background-size: 104px auto;
    margin: 4px auto -4px;
  }
}
/*focus*/
.focus {
  padding-top: 44px;
}
.focus img {
  width: 100%;
}
/*局部导航栏*/
.local-nav {
  display: flex;
  height: 64px;
  background-color: #fff;
  margin: 3px 4px;
  border-radius: 8px;
  li {
    flex: 1;
    a {
      display: flex;
      flex-direction: column;
      /*侧轴居中*/
      align-items: center;
      font-size: 12px;
      [class^="local-nav-icon"] {
        width: 32px;
        height: 32px;
        background-color: pink;
        margin-top: 8px;
        background: url(../images/localnav_bg.png) no-repeat 0 0;
        background-size: 32px auto;
      }
      .local-nav-icon-icon2 {
        background-position: 0 -32px;
      }
      .local-nav-icon-icon3 {
        background-position: 0 -64px;
      }
      .local-nav-icon-icon4 {
        background-position: 0 -96px;
      }
      .local-nav-icon-icon5 {
        background-position: 0 -128px;
      }
    }
  }
}
/*nav*/
nav {
  border-radius: 8px;
  margin: 0 4px 3px;
  overflow: hidden;
  .nav-common {
    display: flex;
    height: 88px;
    background-color: pink;
  }
  .nav-common:nth-child(1) {
    background: -webkit-linear-gradient(left, #fa5a55, #fa994d);
  }
  .nav-common:nth-child(2) {
    background: -webkit-linear-gradient(left, #4b90ed, #53bced);
  }
  .nav-common:nth-child(3) {
    background: -webkit-linear-gradient(left, #34c2a9, #6cd559);
  }
  .nav-common:nth-child(2) {
    margin: 3px 0;
  }
  .nav-items {
    flex: 1;
    display: flex;
    flex-direction: column;
    a {
      flex: 1;
      text-align: center;
      line-height: 44px;
      color: #fff;
      font-size: 14px;
      text-shadow: 1px 1px rgba(0, 0, 0, 0.2);
    }
    a:nth-child(1) {
      border-bottom: 1px solid #fff;
    }
  }
  .nav-items:nth-child(1) a {
    border-bottom: 0;
    background: url(../images/hotel.png) no-repeat bottom center;
    background-size: 121px auto;
  }
  .nav-items:nth-child(-n + 2) {
    border-right: 1px solid #fff;
  }
}
/*subnav-entry*/
.subnav-entry {
  display: flex;
  flex-wrap: wrap;
  border-radius: 8px;
  background-color: #fff;
  margin: 0px 4px;
  padding: 5px 0;
  li {
    flex: 20%;
    a {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      .subnav-entry-icon {
        width: 28px;
        height: 28px;
        margin-top: 4px;
        background: url(../images/subnav-bg.png) no-repeat;
        background-size: 28px auto;
      }
    }
  }
}
.sales-box {
  border-top: 1px solid #ccc;
  border-bottom: #fff;
  margin: 4px;
  background-color: #fff;
}
.sales-hd {
  position: relative;
  height: 44px;
  border-bottom: 1px solid #ccc;
  h2 {
    text-indent: -999px;
    overflow: hidden;
  }
  h2::after {
    position: absolute;
    top: 8px;
    left: 20px;
    content: "";
    width: 79px;
    height: 15px;
    background: url(../images/hot.png) no-repeat 0 -20px;
    background-size: 79px auto;
  }
  .more {
    position: absolute;
    right: 5px;
    top: 0px;
    background: -webkit-linear-gradient(left, #ff506c, #ff68c6);
    border-radius: 8px;
    padding: 3px 20px 3px 10px;
    color: #fff;
  }
  .more::after {
    content: "";
    position: absolute;
    top: 9px;
    right: 9px;
    width: 7px;
    height: 7px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
  }
}
.row {
  display: flex;
  a {
    flex: 1;
    border-bottom: 1px solid #eee;
    img {
      width: 100%;
    }
  }
  a:nth-child(1) {
    border-right: 1px solid #eee;
  }
}
